package org.lanqiao.webfm.model;


import java.util.*;
import java.io.Serializable;
import java.sql.*;
import java.lang.reflect.*;

import javacommon.base.*;
import javacommon.ijdbc.*;
import javacommon.util.*;
import javacommon.web.page.*;

import org.lanqiao.webfm.model.*;

import org.slf4j.*;

/**
*@Author zhengwei
**/
public class OrdersDetailMapper implements RowMapper<OrdersDetail>{
	public OrdersDetail mapRow(ResultSet rs) throws SQLException {
		OrdersDetail model = new OrdersDetail();
		model.setId(rs.getLong("ID"));
		model.setRnum(rs.getLong("RNUM"));
		model.setOrderId(rs.getLong("ORDER_ID"));
		model.setGoodsId(rs.getLong("GOODS_ID"));
		model.setPrice(rs.getLong("PRICE"));
		model.setQty(rs.getLong("QTY"));
		return model;
	}
}